sudo mkdir -p /etc/systemd/system/docker.service.d
echo -e "[Service]\nExecStart=\nExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2375" | sudo tee /etc/systemd/system/docker.service.d/http.conf
sudo systemctl daemon-reload
sudo systemctl restart docker
echo "安装完毕, 已经开启 HTTP API ..."